- inBuffer
- An array of bytes containing the source image data
- inBufferOffset
- Zero-based index into inBuffer
- outBuffer
- An array of bytes to be filled with the converted image data
- outBufferOffset
- Zero-based index into outBuffer
- width
- Image width, in pixels
- inFormat
- The format of the input data
- outFormat
- The desired format of the converted data
Visual Basic (Declaration) | |
---|---|
Overloads Public Shared Sub Convert8( _ ByVal inBuffer() As Byte, _ ByVal inBufferOffset As Integer, _ ByVal outBuffer() As Byte, _ ByVal outBufferOffset As Integer, _ ByVal width As Integer, _ ByVal inFormat As RasterColorSpaceFormat8, _ ByVal outFormat As RasterColorSpaceFormat8 _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim inBuffer() As Byte Dim inBufferOffset As Integer Dim outBuffer() As Byte Dim outBufferOffset As Integer Dim width As Integer Dim inFormat As RasterColorSpaceFormat8 Dim outFormat As RasterColorSpaceFormat8 RasterColorSpace.Convert8(inBuffer, inBufferOffset, outBuffer, outBufferOffset, width, inFormat, outFormat) |
C# | |
---|---|
public static void Convert8( byte[] inBuffer, int inBufferOffset, byte[] outBuffer, int outBufferOffset, int width, RasterColorSpaceFormat8 inFormat, RasterColorSpaceFormat8 outFormat ) |
C++/CLI | |
---|---|
public: static void Convert8( array<byte>^ inBuffer, int inBufferOffset, array<byte>^ outBuffer, int outBufferOffset, int width, RasterColorSpaceFormat8 inFormat, RasterColorSpaceFormat8 outFormat ) |
Parameters
- inBuffer
- An array of bytes containing the source image data
- inBufferOffset
- Zero-based index into inBuffer
- outBuffer
- An array of bytes to be filled with the converted image data
- outBufferOffset
- Zero-based index into outBuffer
- width
- Image width, in pixels
- inFormat
- The format of the input data
- outFormat
- The desired format of the converted data
For an example, refer to RasterColorSpace.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7